const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 1,
        seqNo: 'p5895',
        costObject: '广州丑寅电子商务有限公司',
        total: 'USD: 500 CNY: 300 HKD: 200',
        creator: '姚明',
        creatTime: '2019-01-08 16:29:30',
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/payable/query': mockQuery,
  'POST /api/payable/create': mockCreate,
  'POST /api/payable/update': mockUpdate,
  'POST /api/payable/remove': mockRemove,
};
